package com.ecloud.support.generator.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ecloud.support.generator.model.dto.TableInfoDto;
import com.ecloud.support.generator.model.entity.TableInfoPo;
import com.ecloud.support.generator.model.vo.TableInfoVo;

/**
 * TableInfoMapper
 *
 * @author LiuGangQiang Create in 2021/04/15
 */
@Mapper
public interface TableInfoMapper extends BaseMapper<TableInfoPo> {

    /**
     * 分页查询
     *
     * @author LiuGangQiang Create in 2021/05/05
     * @param page 分页对象
     * @param dto  参数对象
     * @return {@link IPage}
     */
    IPage<TableInfoVo> selectLimit(Page<?> page, @Param("dto") TableInfoDto dto);

}
